<?php

class QuestionController extends Zend_Controller_Action
{

    public function init()
    {
        /* Initialize action controller here */
    }

    public function indexAction()
    {
        $req = $this->getRequest();
		if($req->isGet()){
			$this->view->QAndAList = '';
			$rest = new Application_Model_Rest();
			$QAndAList = $rest->getQAndA();
			if(!empty($QAndAList)){
				$this->view->QAndAList = $QAndAList;
			}
		}
    }


}

